export const tableOption = {
  "border": true,

  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "column": [
    {
      "type": "input",
      "label": "id",
      "prop": "id",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "label": "是否带图",
      "prop": "ishaveimg",
      type: 'switch',
      span: 12,
      display: true,
      value: 0,
      dicData: [
        {
          label: '不带图',
          value: 0
        },
        {
          label: '带图',
          value: 1
        }
      ],
    },
    {
      "type": "input",
      "label": "多少字",
      "prop": "littlesize"
    },
    {
      "type": "input",
      "label": "不能点什么",
      "prop": "nocan"
    },
    {
      "label": "开始时间",
      "prop": "starttime",
      type: 'datetime',
      addDisplay: true,
      editDisplay: true,
      format: 'yyyy-MM-dd HH:mm',
      valueFormat: 'yyyy-MM-dd HH:mm:ss'
    },
    {
      "label": "结束时间",
      "prop": "endtime",
      type: 'datetime',
      addDisplay: true,
      editDisplay: true,
      format: 'yyyy-MM-dd HH:mm',
      valueFormat: 'yyyy-MM-dd HH:mm:ss'
    },
    {
      "type": "input",
      "label": "数量",
      "prop": "number"
    },
    {
      "type": "input",
      "label": "间隔天数",
      "prop": "spanday"
    },
    {
      "type": "select",
      "label": "店家",
      "prop": "shopid",
      addDisplay: true,
      editDisplay: false,
      cascaderItem: [],
      span: 12,
      display: true,
      props: {
        label: 'title',
        value: 'id'
      },
      dicUrl: '/demo/sp/list',
      dicMethod: 'get'
    },
    {
      "label": "上下架状态",
      "prop": "status",
      type: 'select',
      span: 12,
      display: true,
      value: 0,
      dicData: [
        {
          label: '未发布',
          value: 0
        },
        {
          label: '上架',
          value: 1
        },
        {
          label: '下架',
          value: 2
        }
      ],
    },
    {
      "type": "input",
      "label": "只能点什么",
      "prop": "can"
    },
    {
      "type": "input",
      "label": "排名等级",
      "prop": "level"
    },
    {
      "label": "任务发布分类",
      "prop": "tasktype",
      type: 'select',
      span: 24,
      value: 0,
      dicData: [
        {
          label: '美团',
          value: 0
        },
        {
          label: '饿了么',
          value: 1
        }
      ],
    },
    {
      "type": "input",
      "label": "返现金额",
      "prop": "returnmoney"

    },
    {
      "type": "input",
      "label": "达标金额",
      "prop": "money"
    },
    {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "创建人",
      "prop": "createBy",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "更新人",
      "prop": "updateBy",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    }
  ]
}
